<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <link rel="icon" href="/public/img/slack.png">
    <link rel="stylesheet" href="/public/lib/jquery-easyui-1.8.7/themes/bootstrap/easyui.css">
    <link rel="stylesheet" href="/public/css/index.css">
</head>
<body class="easyui-layout">
    <!-- 头部 -->
    <div class="header" data-options="region:'north'">
        <span class="header-title">机房管理系统</span>
        <div class="header-info">欢迎您:&nbsp;&nbsp;{{user.name}}</div>
        <a class="header-out" href="javascript:;">退出系统</a>
        <div class="header-time"></div>
    </div>
    <!-- 左侧导航部分 -->
    <div class="aside" data-options="region:'west',title:'菜单列表'">
        <div class="easyui-accordion" data-options="border:false"></div>
    </div>
    <!-- 内容部分 -->
    <div data-options="region:'center'">
        <div class="easyui-tabs" data-options="fit:true,border:false">
            <div title="首页">
                <div style="padding-top: 100px;text-align: center;">
                    <span style="color: red;font-size: 36px;">欢迎使用</span>
                </div>
            </div>
        </div>
    </div>
    <script src="/public/lib/jquery-easyui-1.8.7/jquery.min.js"></script>
    <script src="/public/lib/jquery-easyui-1.8.7/jquery.easyui.min.js"></script>
    {{if(user.type === '管理员')}}
    <script src="/public/js/admin-menu.js"></script>
    {{else if(user.type === '教师')}}
    <script src="/public/js/teach-menu.js"></script>
    {{/if}}
    <script src="https://cdn.bootcss.com/moment.js/2.24.0/moment.js"></script>
    <script src="/public/js/index.js"></script>
</body>
</html>